package com.lc.communication.constants;

/**
 * @author liuhf17
 * @version 1.0.0
 * @ClassName ChannelConstant.java
 * @Description TODO
 * @createTime 2024年06月11日 18:07:00
 */
public class ChannelConstant {

    //等待标识，等待请求返回结果
    public static final String WAIT = "wait";
    /*public static final String SERVER_UUID = "netty_server_";
    public static final String CLIENT_UUID = "netty_client_";*/



    /////////type//////////
    //心跳包
    public static final String TYPE_HEART = "Heartbeat_Packet";
    public static final Integer SERVER_HEART_COUNT = 10;
    public static final Integer SERVER_HEART_TIME = 3000;

    //重连次数
    public static final Integer CONNECT_INDEX = 100;
    //客户端连接服务端成功标识，用于服务端接收客户端唯一标识
    public static final String CLIENT_LINK_SUCCESS = "clientLinkSuccess";
    //客户端正常通行回复消息
    public static final String CLIENT_REPLY = "client_reply";
    //关闭标识
    public static final String IDLE_CLOSE = "idle_close";
    //消息
    public static final String REQUEST_MSG = "request_msg";
    public static final String ERROR = "error";
    /////////type//////////




    public static final String SEMICOLON = ":";
}
